<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org"
	  xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body>
	<div th:include="include :: footer"></div>
	<script type="text/javascript">
		function login(){
			$.post("/account/login",{email:'admin@123.com',password:'123456'},function(result){
				console.log(result)
			});
		}
	</script>
	<form th:action="@{/account/login}" method="post">
        <input type="text" name="email"><br>
        <input type="password" name="password"><br>
        <P><input type="checkbox" name="rememberMe" />记住我</P>
        <input type="submit" value="提交">
    </form>
	<div class="container">
    	<button type="button" onclick="login()">Click Me!</button>
	</div>
</body>
</html>